﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductSortSelect_Test.aspx.cs" Inherits="System_ProductSortSelect_Test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language="vbscript" type="text/vbscript">
    Sub ProductSortSelect()
        Dim strReturnValue
		strReturnValue = showModalDialog("../System/ProductSortSelect.aspx",null,"dialogWidth:400px;dialogHeight:540px;status:0;scroll:no;center:yes;help:no;")
		If Len(strReturnValue) > 0 Then
		    document.all("TextBox1").value = Split(strReturnValue,vbCrLf)(0)
		    document.all("TextBox2").value = Split(strReturnValue,vbCrLf)(1)
		End If
    End Sub
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <a href="javascript:ProductSortSelect()">选择商品分类</a><br />
        <br />
        商品分类编号：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        商品分类名称：<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    </div>
    </form>
</body>
</html>
